package com.csdn.swaggershirojwtredis.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 灯基本信息实体类
 *
 * @author 张川
 * @since 2019-05-17 21:47:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value="灯基本信息")
public class Lamp implements Serializable {
    private static final long serialVersionUID = -66997110139755606L;

    public Lamp(String id){
     this.id = id;
    }

    @ApiModelProperty(value = "唯一标识")
    private String id;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "位置")
    private String location;



}
